package com.njtoyo.taxi.admin.mapper.master.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum DriverRegionServiceArrangementCategory {
    driver_mark(0, "司机评价分"),
    grab_call_weight(1, "司机抢单权重"),
    payment_rate_pass(2, "免手续费配置"),
    close_automatic_ride_grab(3, "关闭司机自动抢单配置"),
    scan_first_order_rate_pass(4, "扫码首单免手续费"),
    open_auto(5, "开通车机"),
    fee_rate(6, "手续费"),
    qr_code(8, "司机区域公司二维码"),
    contact_number(9, "公司客服电话"),
    bank_fee_limit(10, "银行卡手续费配置"),
    ride_cancel_rule(11, "取消规则"),
    info_service_fee(12, "信息服务费配置"),
    driver_earning(13, "司机收入分成"),
    designated_call_fee(14, "代驾计费规则"),
    designated_driver_earning(15, "代驾司机分成规则"),
    car_app_adv(16, "车机广告总循环次数");;

    @EnumValue
    private final int code;
    private final String desc;

    DriverRegionServiceArrangementCategory(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }
}
